import { useSelector } from 'react-redux'

export function useUid () {
  const { id } = useSelector((state) => {
    return {
      id: state.basic.userInfo.id
    }
  })
  return id
}
